<?php
Zend_Loader::loadClass("Model");

class Materials extends Model
{
	protected $_name   = 'material';
	protected $_primary = 'id';
	
	protected $_dependentTables = array('Material_Props_Physical',
										'Material_Props_Thermal',
										'Material_Props_Ecarbon',
										'ConstructionsMaterials');
	
	protected $_referenceMap    = array(
			'category' => array(
					'columns'           => 'id_category',
					'refTableClass'     => 'MaterialCategories',
					'refColumns'        => 'id'
			));
}

?>